home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / tcomm6.zip / LCLIB.EXE / LITEHCM.H < prev    next >
Text File  |  1991-04-25  |  2KB  |  54 lines

  1. /*
  2. **    litehcm.h
  3. **        Communications support for Datalight (tm) C
  4. **        Copyright (c) 1987 - Information Technology, Ltd.,
  5. **                             All Rights Reserved
  6. */
  7.  
  8. #ifndef LITEHCM_H
  9. #define LITEHCM_H 1
  10.  
  11. #include "litecomm.h"
  12.  
  13. #define NUMRES    0                /* numeric result codes */
  14. #define WRDRES    1                /* word result codes */
  15. #define SPKOFF    0                /* speaker off */
  16. #define SPKON    1                /* speaker on until carrier */
  17. #define SPKSPC    2                /* speaker always on */
  18. #define ONHK    0                /* go on-hook (hangup) */
  19. #define OFFHK    1                /* go off-hook (lift receiver) */
  20. #define OFFHKS    2                /* go off-hook, don't close aux relay */
  21. #define BASIC    0                /* basic result set */
  22. #define EXSET1    1                /* extended results set 1 */
  23. #define EXSET3    2                /* extended results set 3 */
  24. #define EXSET4    3                /* extended results set 4 */
  25. #ifdef HCMAIN
  26. static int    _restype;
  27. static int    _resset;
  28. #endif
  29.  
  30. int lch_oncarr(unsigned);
  31. int lch_offcarr(unsigned);
  32. int lch_codeset(unsigned,unsigned);
  33. int lch_dial(unsigned,char *);
  34. int lch_fduplex(unsigned);
  35. int lch_hduplex(unsigned);
  36. int lch_onecho(unsigned);
  37. int lch_offecho(unsigned);
  38. int lch_sreg(unsigned,unsigned,int);
  39. int lch_greg(unsigned,unsigned);
  40. int lch_hook(unsigned,unsigned);
  41. int lch_redo(unsigned);
  42. void _settype(int);
  43. void _setset(int);
  44. int _rettype(void);
  45. int _retset(void);
  46. int lch_codeson(unsigned);
  47. int lch_codesoff(unsigned);
  48. int lch_wrdres(unsigned);
  49. int lch_numres(unsigned);
  50. int lch_tone(unsigned);
  51. int lch_pulse(unsigned);
  52. int lch_speaker(unsigned,unsigned);
  53. #endif                            /* ifdef LITEHCM_H */
  54.